<template>
	<view class="projectList">
		<view class="header">
			<view class="search-image">
				<input class="search" placeholder="请输入关键字查询" />
				<image src="../../../static/找工人.jpg"></image>
			</view>
			<view class="exhibition">
				<view class="content">
					鱼泡测试鱼泡测试鱼泡测试
					<view class="num" style="color: #ff0000;">123113</view>
				</view>
				<view class="nationwide">全国
					<image src=".." mode=""></image>
				</view>
			</view>
		</view>
		<view class="shell">
			<view v-for="item in items" :key="item.id">
				<view @click="goMessage" class="card">
					<view class="title">
						测试
					</view>
					<view class="content">
						正文
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				items: [1, 2, 3]
			}
		},
		components: {},
		methods: {
			goMessage() {
				// uni.navigateTo({
				// 	url: "/../architecturedetails/message"
				// })
			}
		}
	}
</script>

<style lang="scss" scoped>
	.projectList {
		.header {
			width: 100vw;
			position: fixed;
			background: #007AFF;

			.search-image {
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;
				padding-bottom: 10rpx;

				.search {
					width: 80vw;
					padding: 10rpx 20rpx;
					background: #FFFFFF;
					border-radius: 20rpx;
				}

				image {
					width: 40rpx;
					height: 40rpx;
					position: absolute;
					right: 80rpx;
				}
			}

			.exhibition {
				background: #dadada;
				display: flex;
				justify-content: space-between;
				padding: 20rpx;

				.content {
					display: flex;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
				}

				.nationwide {
					display: flex;
					align-items: center;

					image {
						width: 30rpx;
						height: 30rpx;
						margin-left: 10rpx;
					}
				}
			}
		}

		.shell {
			padding-top: 150rpx;

			.card {
				padding: 20rpx;
				display: flex;
				flex-direction: column;
				border-bottom: solid 1px #C0C0C0;

				.content {
					color: #999999;
					margin-top: 20rpx;
				}
			}
		}

	}
</style>
